package com.subsequent.service;

import com.subsequent.entity.Medicines;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MedicinesService {
    List<Medicines> selectByCondition(String medicineName,Integer isPrescription, String code, Integer status, String startTime, String endTime);
    int countByCondition(String medicineName,Integer isPrescription, String code, Integer status, String startTime, String endTime);
    Medicines selectById(Integer medicineId);
    int insert(Medicines medicines);
    int update(Medicines medicines);
    int deleteById(Integer medicineId);


}